package net.huashitong.keyan.dao;

import com.sirdc.modules.core.dao.GenericQuery;
import com.sirdc.modules.core.dao.StringDao;
import net.huashitong.keyan.entity.DuBanList;
import net.huashitong.keyan.filter.DubanListFilter;
import org.springframework.stereotype.Repository;
import org.w3c.dom.ls.LSException;

import java.util.List;

@Repository
public class DubanListDao extends StringDao<DuBanList> {

    public List<DuBanList> getList(DubanListFilter filter)
    {
        GenericQuery query = createQuery("obj");
        return query.listResult(filter);
    }
}
